﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.Module.Interfaces.Common
{
   public interface ICacheManager
   {
       T Get<T>(string key,ActionWithResult<T> executeIfNoFound,int minutesToCache);
       T Set<T>(string key, T data, int minutesToCacheFor);
       void Remove(string key);
   }
}
